package vip.xiaonuo.supplier.modular.warehouse.storages.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 仓库信息编辑参数
 *
 * @author Mr.wu
 * @date  2025/03/15 19:51
 **/
@Getter
@Setter
public class SupplierStoragesEditParam {

    /** 门店（仓库）ID */
    @Schema(description = "门店（仓库）ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 所属门店 */
    @Schema(description = "所属门店", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "parentId不能为空")
    private String parentId;

    /** 门店（仓库）名称 */
    @Schema(description = "门店（仓库）名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "storeName不能为空")
    private String storeName;

    /** 门店（仓库）图片 */
    @Schema(description = "门店（仓库）图片")
    private String storeImage;

    /** 排序码 */
    @Schema(description = "排序码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "sortCode不能为空")
    private Integer sortCode;

    /** 门店（仓库）电话 */
    @Schema(description = "门店（仓库）电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "storeTel不能为空")
    private String storeTel;

    /** 门店（仓库）地址 */
    @Schema(description = "门店（仓库）地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "storeAddress不能为空")
    private String storeAddress;

    /** 负责人 */
    @Schema(description = "负责人")
    private String storePerson;

    /** 类型 */
    @Schema(description = "类型")
    private String storeType;

    /** 扩展信息 */
    @Schema(description = "扩展信息")
    private String extJson;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;

}
